package com.xqboss.apps.dto.market;

import com.xqboss.apps.enums.market.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel
public class PreAddMarketDto {

    @ApiModelProperty("源ID（用户装备ID、用户藏品ID、用户宝箱ID）")
    @NotNull(message = "源ID不能为空")
    private Long sourceId;

    @ApiModelProperty("出售类型")
    @NotNull(message = "出售类型不能为空")
    private MarketTypeEnum type;
}
